package com.ming.day250804;

import java.util.Scanner;

public class a_scanner {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        //String date = sc.next();
        String date = sc.nextLine();
        System.out.println(date);
        sc.close();

        //创建对象
        //Scanner sc = new Scanner(System.in);
        //调用方法实现录入
        //System.out.println("输入两个数字：");
        //int i = sc.nextInt();
        //int j = sc.nextInt();
        //System.out.println("i + j = " + (i + j));
        //int sum = i + j;
        //System.out.println("sum = " + sum);
        //
        //输入字符串
        //System.out.println("输入一个字符串：");
        //String str = sc.next();
        //System.out.println("str = " + str);
        //
        //关闭Scanner
        //sc.close();
    }
}
